from django.conf.urls.defaults import patterns, include, url

urlpatterns = patterns(
    'coolblog.admin.views',
    url(r'^$', 'article_list'),
    url(r'^settings/$', 'blog_settings'),
    url(r'^article/create/$', 'create_article'),
    url(r'^article/list/$', 'article_list'),
    url(r'^article/delete/(?P<article_id>\d+)/$', 'delete_article'),
    url(r'^article/update/(?P<article_id>\d+)/$', 'update_article'),

    url(r'^category/list/$', 'category_list'),
    url(r'^category/create/$', 'create_category'),
    url(r'^category/update/(?P<cat_id>\d+)/$', 'update_category'),
    url(r'^category/delete/(?P<cat_id>\d+)/$', 'delete_category'),

    url(r'^user/list/$', 'user_list'),
)
